package com.mywork.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mywork.dao.DiagnosisMapper;
import com.mywork.dao.RecipeDiagnosisViewMapper;
import com.mywork.po.Diagnosis;
import com.mywork.po.RecipeDiagnosisView;
@Service
public class DiagnosisService {
	@Autowired
	RecipeDiagnosisViewMapper recipeDiagnosisView;
	
	@Autowired
	DiagnosisMapper dignosisDao;
	public List<Diagnosis> getAllLevel1Diagnosis() {
		// TODO 自动生成的方法存根
		return dignosisDao.getAllLevel1Diagnosis();
	}
	public List<RecipeDiagnosisView> getAllDiagnosisByRecipeId(String recipeId) {
		// TODO 自动生成的方法存根
		return recipeDiagnosisView.getRecipeDiagnosisByRecipeId(recipeId);
	}

}
